/* CalibrationView.cpp
 * The view to calibrate the color's HSV used by the user as finger bands
 *
 * Last Modified: 16.01.2014
 * Author: Guilherme S.G.
 *
 * TODO:
 */
#include "CalibrationView.h"
#include "Game.h"


CalibrationView::CalibrationView() : View()
{
    
}

CalibrationView::~CalibrationView()
{
    
}

void CalibrationView::handleEvents(ALLEGRO_EVENT *event)
{
    if(event->type == ALLEGRO_EVENT_KEY_UP)
    {
        switch (event->keyboard.keycode)
        {
            case ALLEGRO_KEY_ESCAPE:
                controller->goToPreviousView();
                break;
        }
    }
}

void CalibrationView::update()
{
    
}

void CalibrationView::render()
{
    al_clear_to_color(al_map_rgb(0, 0, 255));
}
